import router from '@system.router';
export default {
    data: {
        title: "",
        button:[
            {name:"首页"},
            {name:"朋友"}
        ],
        button1:[
            {name:"消息"},
            {name:"我"}
        ],
        rightelement:[
            {image:"/common/images/5.png",text:"",bool:true},
            {image:"/common/images/4.png",text:"123万",bool:false},
            {image:"/common/images/9.png",text:"666万",bool:false},
            {image:"/common/images/7.png",text:"80万",bool:false},
            {image:"/common/images/1.png",text:"100万",bool:false}
        ],
        listelement1:[
            {image:"/common/list/1.png",name:"张三",content:"牛逼啊666",time:"刚刚",content2:"回复",text1:100},
            {image:"/common/list/2.png",name:"李四",content:"牛逼个屁屁",time:"1分钟前",content2:"回复",text1:23},
            {image:"/common/list/3.png",name:"王五",content:"楼上的你别杠",time:"5分钟前",content2:"回复",text1:123},
            {image:"/common/list/1.png",name:"赵六",content:"别骂了别骂了",time:"1小时前",content2:"回复",text1:2},
            {image:"/common/list/2.png",name:"孙七",content:"全是sb",time:"23小时前",content2:"回复",text1:0},
            {image:"/common/list/1.png",name:"老八",content:"楼上优越感怎么这么强",time:"2个月前",content2:"回复"},
            {image:"/common/list/2.png",name:"陈九",content:"举报了",time:"3个月前",content2:"回复"},
            {image:"/common/list/3.png",name:"刘十",content:"现在的人都这么疯狂吗",time:"很久以前",content2:"回复"},
        ],
        imagesrc1:"/common/gouwuche/gouwuche1.png",
        imagesrc2:"/common/shouye/shouye100.png",
        imagesrc3:"/common/shouye/shouye3.png",
        imagesrc4:"/common/shouye/shouye4.png",
        imagesrc5:"/common/shouye/shouye5.png",
        imagesrc6:"/common/gouwuche/gouwuche3.png",
        imagesrc7:"/common/gouwuche/gouwuche4.png",
        imagesrc8:"/common/gouwuche/gouwuche5.png",
        imagesrc9:"/common/gouwuche/gouwuche6.png",
        imagesrc100:"/common/gouwuche/gouwuche4.png",
    },
    onInit() {
        this.title = this.$t('strings.world');
    },
    changepanel(){
        console.log("开");
        this.$element("simplepanel").show();
    },
    closepanel(){
        console.log("关");

        this.$element("simplepanel").close();
    },
    changeshouye(){
        console.log("切换首页");
        this.$emit("changeShouYe");
    },
    goTozanweikaifang(){
        router.push({
            uri:"pages/zanweikaifang/zanweikaifang"
        })
    },
    changegouwuche(){
        console.log("切换首页");
        this.$emit("changeGouWuChe");
    },
    changeXiaoxi(){
        console.log("切换消息");
        this.$emit("changeXiaoxi");
    }
}
